/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.rbh.risk.service;

import com.rbh.risk.entity.Category;
import com.rbh.risk.entity.MainEvent;
import java.util.List;

public interface MainEventService {
    
    public void insert(MainEvent mainEvent);
    
    public void update(MainEvent mainEvent);
    
    public void delete(MainEvent mainEvent);
    
    public MainEvent getById(Integer mainEventId);

    public List<MainEvent> getAll();
    
    public List<MainEvent> getByCategory(Category category);
}